package com.lin.blog.constant;

/**
 * @program: blog
 * @description: 用户常量
 * @author: Lin
 * @create: 2020-04-03 12:28
 **/
public class UserConstant {

    /**
     * 管理员
     */
    public static final String ROLE_ADMIN = "ADMIN";

    /**
     * 管理员账号
     */
    public static final String SUPER_ADMIN = "root";

    /**
     * 普通用户
     */
    public static final String ROLE_USER = "USER";

    /**
     * 用户名
     */
    public static final String USER_NAME = "username";


    /**
     * 密码
     */
    public static final String PASSWORD = "password";


    /**
     * 用户角色
     */
    public static final String ROLES = "roles";

    /**
     * 管理员角色ID
     */
    public static final Long ROLE_ADMIN_ID = 1L;

    /**
     * 普通用户角色ID
     */
    public static final Long ROLE_USER_ID = 2L;


    /**
     * 用户默认头像
     */
    public static final String Default_HeadImage = "https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80";

}
